package cn.ante.ymcc.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class LoginParamDto {
    @NotEmpty(message = "用户或密码不能为空")
    private String username;
    @NotEmpty(message = "用户或密码不能为空")
    private String password;
    // 0 后台 1前台
    @NotNull(message = "类型不能为空")
    private Integer type;
}
